using UnityEngine;

public class Rotatend : MonoBehaviour
{
    public float speed = 180;
    public Vector3 Axis;

    // Update is called once per frame
    void Update()
    {
        transform.Rotate(speed * Axis * Time.deltaTime);
    }
}